﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using OgilvyOne.Model;
using System.Data;

namespace OgilvyOne.IDAL
{
    public interface BrandOtherIDAL
    {
        /// <summary>
        /// 全部关联信息列表
        /// </summary>
        /// <returns></returns>
        IList GetList(string where);
        /// <summary>
        /// 添加关联信息
        /// </summary>
        /// <returns></returns>
        int Add(BrandOtherModel setDic);
        /// <summary>
        /// 删除一条关联信息
        /// </summary>
        /// <returns></returns>
        bool Delete(int id);
        /// <summary>
        /// 删除一条关联信息
        /// </summary>
        /// <returns></returns>
        int Update(BrandOtherModel updDic);
        /// <summary>
        /// 关联信息
        /// </summary>
        /// <returns></returns>
        BrandOtherModel Get(int id);
    }
}
